package cn.oop.date;

import java.util.Date;

public class TestDate {
    public static void main(String[] args) {
        long t = System.currentTimeMillis();
        System.out.println(t);

        Date s1 = new Date(1000);
        System.out.println(s1.toGMTString());
        s1.setTime(1923124342);
        System.out.println(s1.toGMTString());
        System.out.println(s1.getTime());

    }
}
